package ch3;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class Bool1 {
    public static void main(String[] args) {
//        boolean  f=false;
//        boolean f2=true;
//        System.out.println(f);
//        System.out.println(f2);
        Scanner sc=new Scanner(System.in);
        System.out.println("请输入张三的成绩：");
        double zhang=sc.nextDouble();

        System.out.println("请输入里斯的成绩：");
        double li=sc.nextDouble();
        boolean zhangGood=zhang>li;
        System.out.println("张三的成绩比李四高吗》》"+zhangGood);
    }
}
